<!-- ************************************************************
	File:        /fabridge_example01/index.html
    Author:      Brice Mason
    Description: Demonstrates the interaction of an HTML/JavaScript
    application with an embedded SWF using the Adobe Flex-Ajax Bridge (FABridge)
    
    Revision History:
    	2007-06-15 bmason - Creation date.
        
    Copyright (c) 2007 by Brice Mason
    http://www.skipslate.com
    No warranty. Commerical and non-commerical use freely permitted.
************************************************************* -->
<html>  
<head>  
    <title>fabridge example 01</title>  
    <!-- link the JavaScript side of the FABridge library -->  
    <script language="JavaScript" src="assets/js/bridge/FABridge.js"></script>  
    <script language="JavaScript" src="assets/js/fabridge_example01.js"></script>  
</head>  
<body>  
    <h3>FABridge Example 01</h3>  
      
    <!-- embed the flex application swf -->  
    <embed src="assets/swf/fabridge_example01.swf" />  
      
    <!-- define a simple HTML form. -->  
    <form name="frm_mainMenu">  
        Main Menu: <input type="text" name="frm_mainDish" value="" /><br/>
		<input type="button" value="Step 5 - Get ActionScript Objects by ID" onclick="getId();" /><br/>
		<input type="button" value="Step 6 - Get ActionScript Property Values" onclick="getProperty();" /><br/>
		<input type="button" value="Step 7 - Set ActionScript Property Values" onclick="setProperty();" /><br/>
		<input type="button" value="Step 8 - Calling ActionScript Object Methods" onclick="callObjectMethod();" /><br/>
		<input type="button" value="Step 9 - Attach Event Handler" onclick="attachEvent();" />		
    </form>  
</body>  
</html>